<?php

//require_once 'C:\\wamp\\bin\\php\\php5.2.9-2\\PEAR\\symfony/autoload/sfCoreAutoload.class.php';
//require_once '/usr/share/php/symfony/autoload/sfCoreAutoload.class.php';
require_once(dirname(__FILE__).'/../lib/vendor/symfony/lib/autoload/sfCoreAutoload.class.php');
sfCoreAutoload::register();

class ProjectConfiguration extends sfProjectConfiguration
{
  public function setup()
  {
    $this->enablePlugins('sfDoctrinePlugin');
    $this->enablePlugins('sfThumbnailPlugin');
    $this->enablePlugins('sfDoctrineActAsTaggablePlugin');

    $this->enablePlugins('sfFormExtraPlugin');
    
    sfConfig::set('sf_thumbnail_dir', sfConfig::get('sf_upload_dir').'/thumbnails');
    sfConfig::set('sf_attachments', 5);
  }
}
